<!-- 简化版个人简介（用于首页侧边栏） -->
<div class="card-widget card-profile-simple" th:with="allPosts = ${postFinder.list(1,1)},
     allTags = ${tagFinder.listAll()},
     allCategories = ${categoryFinder.listAll()}">
    <div class="simple-profile">
        <!-- 头像 -->
        <div class="profile-avatar">
            <img th:src="@{/assets/images/sidebar/profile.webp}" 
                 alt="头像" class="avatar-img">
        </div>
        
        <!-- 昵称 -->
        <div class="profile-name" th:text="${site.title}">派大星</div>
        
        <!-- 个性签名 -->
        <div class="profile-motto" th:text="${site.seo.description}">万念不乱心,金刚不摧志</div>

        <!-- 统计数据 -->
        <div class="profile-stats">
            <div class="stat-item">
                <div class="stat-label">文章</div>
                <div class="stat-value" th:text="${allPosts.total}">0</div>
            </div>
            <div class="stat-item">
                <div class="stat-label">标签</div>
                <div class="stat-value" th:text="${#lists.size(allTags)}">21</div>
            </div>
            <div class="stat-item">
                <div class="stat-label">分类</div>
                <div class="stat-value" th:text="${#lists.size(allCategories)}">5</div>
            </div>
        </div>
    </div>
</div>

<!-- 内联样式 - 紧凑版 -->
<style>
.card-profile-simple{background:rgba(255,240,250,.85);border-radius:12px;padding:0;overflow:hidden;box-shadow:0 4px 24px rgba(0,0,0,.12)}
.simple-profile{display:flex;flex-direction:column;align-items:center;padding:1rem 0.8rem;min-height:auto}
.simple-profile .profile-avatar{width:70px;height:70px;border-radius:50%;overflow:hidden;margin-bottom:.6rem;border:2.5px solid rgba(186,85,211,.25);box-shadow:0 3px 10px rgba(186,85,211,.2)}
.simple-profile .avatar-img{width:100%;height:100%;object-fit:cover}
.simple-profile .profile-name{font-size:1rem;font-weight:700;color:#4a2c5f;margin-bottom:.4rem}
.simple-profile .profile-motto{font-size:.7rem;color:#6b4c7a;text-align:center;line-height:1.5;margin-bottom:.8rem;padding:0 .5rem;white-space:nowrap;overflow:visible}
.simple-profile .profile-stats{display:flex;justify-content:space-around;width:100%;padding:.7rem 0;border-top:1px solid rgba(186,85,211,.15);border-bottom:1px solid rgba(186,85,211,.15)}
.simple-profile .stat-item{display:flex;flex-direction:column;align-items:center;gap:.25rem}
.simple-profile .stat-label{font-size:.68rem;color:#8b5a8e}
.simple-profile .stat-value{font-size:1.05rem;font-weight:700;color:#ba55d3}
</style>

